<template>
  <IndNewsForm ref="IndNewsForm"/>
</template>

<script>
  import IndNewsForm from './modules/IndNewsForm'

  export default {
    name: 'IndNewsList',
    components: {
      IndNewsForm
    },
    data() {
      return {
      }
    },
    created() {
    },
    mounted() {
      let record = JSON.parse(localStorage.getItem('newsRecord'));
      this.$nextTick(()=>{
        this.$refs.IndNewsForm.edit(record);
      })
    },
    activated() {
      let record = JSON.parse(localStorage.getItem('newsRecord'));
      this.$nextTick(()=>{
        this.$refs.IndNewsForm.edit(record);
      })
    },
    methods: {

    }
  }
</script>
<style scoped>
  @import '~@assets/less/common.less';
</style>